The Data ONTAP 10.0 system keeps a list of event notifications that have been sent to SNMP traps. You can view this list by using the event snmphistory show command. The command displays the following information:
Sequence number of the event notification
Message name
IP address of the SNMP host to which the event notification was sent
Node name
Time the event notification was sent
Other information is displayed in a detailed view and if other parameters are specified. See the reference page for the command for details.
The following example displays the list of event notifications that have been sent to SNMP traps.
node::>event snmphistory showSeq # Message Name Address Node Time 12 raid.mirror.bigio.restrict 10.98.12.1 node0a 4/14/2005 15:11:04 11 aggrcopy.dst.noMemory 10.98.12.1 node0a 4/14/2005 14:52:54 10 raid.mirror.bigio.restrict 10.98.12.1 node0b 4/14/2005 14:41:04
You can delete SNMP trap-history records by using the event snmphistory delete command. You can delete a single record by specifying its sequence number, or multiple records by specifying a pattern. The following example deletes the SNMP trap-history record with the sequence number 10.
node::>event snmphistory delete -seqnum 10